package com.bailin233.service.impl;

import com.bailin233.entity.Students;
import com.bailin233.mapper.StudentsMapper;
import com.bailin233.service.StudentsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("studentsService")
public class StudentsServiceImpl implements StudentsService {

    @Resource
    StudentsMapper studentsMapper;

    public Students query(int id) {
        return studentsMapper.query(id);
    };
}
